@import "../base/color.scss";



.product-detail {
    width: 100%;
    height: 410px;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
    overflow-y: auto;

    .product-detail__header {
        width: 100%;
        padding-top: 20px;
        padding-bottom: 10px;
        border-bottom: 1px solid #DCDFE6;
        margin-bottom: 20px;

        &:first-child {
            padding-top: 0;
        }

        &:last-child {
            margin-bottom: 0px;
        }
    }

    .product-detail__content {
        width: 100%;
        display: flex;
        justify-content: space-between;
        &:last-child {
            //display: block;
            flex-direction: column;
        }
    }

    .product-detail__left,
    .product-detail__right {
        flex: 0 0 45%;
        width: 45%;

    }

    .product-detail__item {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        margin-top: 20px;

        &:first-child {
            margin-top: 0px;
        }

        .product-detail__label {
            min-width: 80px;
            flex: 0 0 80px;
            display: block;
        }

        .product-detail__input {
            flex: 1 1 auto;
            height: 30px;
            line-height: 30px;

            &.only-show {
                border: 1px solid #DCDFE6;
                padding: 0 4px;
            }
        }


    }
}